const merge = require('webpack-merge')
const UglifyJSPlugin = require('uglifyjs-webpack-plugin')
const base = require('./webpack.base')

// webpack生产环境配置
module.exports = merge(base, {
    mode: "production",
    plugins: [
        new UglifyJSPlugin()
    ]
})